package com.zeus.oauth2.repo;

import com.zeus.oauth2.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @Author fangyi
 * @Date 2023/7/14 10:18
 * @Version 1.0
 */
@Repository
public interface UserRepository extends JpaRepository<User,Integer> {

    User findByUserName(String username);

}
